#include "Globals.h"
#include "itext.h"

//--------------------------------------------------------------------------------
//	initialize a text asset
//--------------------------------------------------------------------------------
void *IText::AssetInit( IAssetFile *pi, const CMasterIndexEntry *pme, void *context )
{
	IText	*ret;

	ret = (IText*)pi->GetChunk(pme->nameHash,pme->primaryChunk);
	if( ret )
	{
		pi->SetupHashList(&ret->dictionary,ret);
	}
	return (void*)ret;
}

//--------------------------------------------------------------------------------
//	uninitialize a text asset
//--------------------------------------------------------------------------------
void IText::AssetUninit( void *ptr, void *context )
{
}

//--------------------------------------------------------------------------------
//	fixup an asset
//--------------------------------------------------------------------------------
void IText::AssetFixup( CAssetFileMgr *pMgr, const IAssetFile *pFile, void *ptr, const CMasterIndexEntry *pEntry )
{
}
